import scene from "./scene"
import City from "./mesh/City";

let city = null;
export default function createMesh() {
    // 创建城市
    city = new City(scene)
}

// 城市的动画每一帧都要更新才会生效
export function updateMesh(time) {
    city.update(time)
}